import React from 'react'
import {Link} from 'react-router-dom'

function Home(){
	return (
		<div className="home-wrapper">
			<h3 className='display-4'>HOME PAGE</h3>
			<Link to='/detail/001' className='btn btn-primary'>params参数传递</Link>
			<Link to='/query/?id=001' className='btn btn-primary ml-2'>query参数传递</Link>
			<Link to={{pathname:'/state',state:{name:'cowen',id:'001'}}} className='btn btn-primary ml-2'>state传递</Link>
		</div>
	)
}

export default Home